//
//  BAAlbumModel.h
//  BabyAlbum
//
//  Created by master on 17/2/14.
//  Copyright © 2017年 master. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BAAlbumItem.h"

@interface BAAlbumModel : NSObject
@property (nonatomic, copy)NSString *album_id;
//@property (nonatomic, copy)NSString *cover_name;
//@property (nonatomic,assign) BOOL isVideoCover;
@property (nonatomic, copy)NSString *title;
@property (nonatomic, copy)NSString *desc;
@property (nonatomic, copy)NSString *more_desc;
@property (nonatomic, copy)NSString *create_date;
@property (nonatomic, copy) NSString *update_date;
@property (nonatomic, copy) NSString *custom_date;


@property (nonatomic, strong) BAAlbumItem *cover; // 默认cover_name图,编辑模式可以修改使用. 数据库赋值/ 自定义alloc 赋值
//@property (nonatomic, strong) AVURLAsset *coverVideo; // 默认cover_name图,编辑模式可以修改使用.

@property (nonatomic, strong) NSArray<BAAlbumItem *> *resourceList;  // 编辑状态写入使用

- (NSString *)customDateShow; // 展示的日期字符串
- (NSString *)weekDayShow;
- (NSArray<BAAlbumItem *> *)fetchResourceList;  // 获取相册的原始图片列表

@end
